package com.geostar.constructionland.index.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 附件表
 */
@TableName(value = "oa_fj")
@ApiModel(description = "附件表")
@Data
public class AttachmentInfoEntity {
    @ApiModelProperty("主键ID")
    @TableId("id")
    private String id;
    @ApiModelProperty("附件ID")
    @TableField("fjid")
    private String attachmentId;
    @ApiModelProperty("附件名称")
    @TableField("fjmc")
    private String attachmentName;
    @ApiModelProperty("附件大小(单位:kb)")
    @TableField("fjdx")
    private BigDecimal attachmentSize;
    @ApiModelProperty("序号")
    @TableField("xh")
    private Integer orderNum;
    @ApiModelProperty("附件类型")
    @TableField("fjlx")
    private String attachmentType;
    @ApiModelProperty("附件扩展名")
    @TableField("fjkzm")
    private String attachmentExtension;
    @ApiModelProperty("上传人ID")
    @TableField("scrid")
    private String operatorId;
    @ApiModelProperty("上传人名称")
    @TableField("scrmc")
    private String operatorName;
    @ApiModelProperty("上传时间")
    @TableField("sqsj")
    private Date operateTime;
    @ApiModelProperty("文件MD5")
    @TableField("md5")
    private String md5;
    @ApiModelProperty("附件信息")
    @TableField("fjxx")
    private String attachmentInfo;
    @ApiModelProperty("附件目录ID")
    @TableField("fjmlid")
    private String attachmentDirId;
    @ApiModelProperty("业务ID")
    @TableField("ywid")
    private String businessId;
    @ApiModelProperty("业务类型")
    @TableField("ywlx")
    private String businessType;
    @ApiModelProperty("备注")
    @TableField("bz")
    private String remark;
    @ApiModelProperty("租户编码")
    @TableField("zhbm")
    private String tenantId;
    @ApiModelProperty("机构代码")
    @TableField("jgdm")
    private String orgId;
    @ApiModelProperty("年份")
    @TableField("nf")
    private Integer year;
    @ApiModelProperty("活动ID")
    @TableField("activitydefid")
    private String activityDefId;
    @ApiModelProperty("删除标志")
    @TableField("scbz")
    private Integer deleteFlag;
    @ApiModelProperty("是否经过ocr处理")
    @TableField("ocr")
    private Integer ocr;
    @ApiModelProperty("附件是否公开：0：不公开 1：公开")
    @TableField("gk")
    private Integer openFlag;
    @ApiModelProperty("用途类型: ZTZ: 转通知")
    @TableField("ytlx")
    private String useType;
    @ApiModelProperty("迁移标识")
    @TableField("flag")
    private Integer moveFlag;
}
